package com.shensi.api.admin.domian.label.dto;

import com.shensi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 标签规则
 * 对象 label_rule
 *
 * @author shensi
 * @date 2021-06-15
 */
public class LabelRuleDto extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 标签主表id
     */
    @ApiModelProperty(value = "标签主表id")
    private Integer id;

    /**
     * 标签名
     */
    @ApiModelProperty(value = "标签名")
    private String labelName;

    /**
     * 使用人数
     */
    @ApiModelProperty(value = "使用人数")
    private String userscount;

    /**
     * 油站id
     */
    @ApiModelProperty(value = "油站id")
    private Long stationId;

    /**
     * 删除标识：1 是，0 否
     */
    @ApiModelProperty(value = "删除标识：1 是，0 否")
    private String delFlag;

    @ApiModelProperty(value = "是否添加标签")
    private String isAddLabel;

    @ApiModelProperty(value = "标签规则详情列表")
    private List<LabelRuleDetailDto> labelRuleDetailList;

    /**
     * 油企id
     */
    @ApiModelProperty(value = "油企id")
    private Long enterpriseId;

    /**
     * 活动id
     */
    @ApiModelProperty(value = "活动id")
    private String activityIds;

    /**
     * 活动name
     */
    @ApiModelProperty(value = "活动name")
    private String activityName;
    /**
     * 开始时间“2023-05-04”
     */
    @ApiModelProperty(value = "开始时间“2023-05-04”")
    private String beginTime;

    /**
     * 结束时间“2023-05-08”
     */
    @ApiModelProperty(value = "结束时间“2023-05-08”")
    private String endTime;


    public String getCouponActivityIds() {
        return couponActivityIds;
    }

    public void setCouponActivityIds(String couponActivityIds) {
        this.couponActivityIds = couponActivityIds;
    }

    /**
     * 优惠券活动ids
     */
    @ApiModelProperty(value = "优惠券活动ids")
    private String couponActivityIds;

    public LabelRuleDto() {
    }

    /**
     * 获取活动name
     *
     * @return 活动name
     */
    public String getActivityName() {
        return activityName;
    }

    /**
     * 设置活动name
     *
     * @param activityName 活动name
     */
    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }


    public void setUserscount(String userscount) {
        this.userscount = userscount;
    }

    public String getUserscount() {
        return userscount;
    }


    public List<LabelRuleDetailDto> getLabelRuleDetailList() {
        return labelRuleDetailList;
    }


    public String getActivityIds() {
        return activityIds;
    }

    public void setActivityIds(String activityIds) {
        this.activityIds = activityIds;
    }

    public Long getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(Long enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public void setLabelRuleDetailList(List<LabelRuleDetailDto> labelRuleDetailList) {
        this.labelRuleDetailList = labelRuleDetailList;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setLabelName(String labelName) {
        this.labelName = labelName;
    }

    public String getLabelName() {
        return labelName;
    }

    public Long getStationId() {
        return stationId;
    }

    public void setStationId(Long stationId) {
        this.stationId = stationId;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public String getIsAddLabel() {
        return isAddLabel;
    }

    public void setIsAddLabel(String isAddLabel) {
        this.isAddLabel = isAddLabel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("labelName", getLabelName())
                .append("stationId", getStationId())
                .append("delFlag", getDelFlag())
                .append("isAddLabel", getIsAddLabel())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
